/*================================================================
*   Copyright (C) 2017 LiuYao. All rights reserved.
*   
*   Filename : divide_factory.h
*   Author : LiuYao
*   Date : 2017-12-28
*   Description : 
*
================================================================*/
#ifndef _DIVIDE_FACTORY_H
#define _DIVIDE_FACTORY_H

#include "factory.h"
#include "../graph/node.h"
#include "../graph/ops/divide_op.h"

class DivideFactory : public Factory {
    private:
        Node* lhs_;
        Node* rhs_;

        Node* hook() { return new Divide(lhs_, rhs_); }

    public:
        DivideFactory(Node* lhs, Node* rhs) : lhs_(lhs), rhs_(rhs) {}
};

#endif
